package com.wondertek.service.entity.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wondertek.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description:用户与部门关联表
 * @author: qinjianhui
 * @create: 2024-07-15 16:53
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("device_type_attribute")
public class DeviceTypeAttributePo extends BaseEntity {

    /*
     * 用户id
     * */
    @Schema(name = "deviceTypeId",description = "用户id")
    private String deviceTypeId;

    /*
     * 部门id
     * */
    @Schema(name = "deviceTypeCode",description = "部门id")
    private String deviceTypeCode;

    /*
     * 属性：[{"code": "electrical",  "name" :"电量", "type": "num" ,   "range": "1,10" ,   "defaultAlarm": "6" }]
     * */
    @Schema(name = "attribute",description = "属性：[{\"code\": \"electrical\",  \"name\" :\"电量\", \"type\": \"num\" ,   \"range\": \"1,10\" ,   \"defaultAlarm\": \"6\" }]")
    private String attribute;

}

